package com.yy.web.pm.patrol.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.util.Date;

public class PatroDto {

    // 告警数据id
    private String alarmId;
    // 巡逻人员姓名
    private String patrolPeople;
    // 巡逻店铺名称
    private String partrolStore;
    // 巡逻地址
    private String partrolAddress;
    // 巡逻类型
    @Transient
    private String partrolType;
    // 巡逻编号
    private String partrolNumber;
    // 巡逻进度
    private String partrolProgress;
    // 巡逻备注
    private String partrolNotes;
    // 巡逻级别
    @Transient
    private String partrolLevel;
    // 巡逻时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date partrolTime;
    // 巡逻图片
    private String partrolImages;
    // 报警编号
    private String alarmNumber;
    // 报警人员姓名
    private String alarmPeople;
    // 报警地址
    private String alarmAddress;
    // 报警时间
    private Date alarmTime;
    // 报警备注
    private String alarmNotes;
    // 报警类型
    private String alarmType;
    // 报警图片
    private String alarmImage;
    // 报警状态
    private String alarmState;
    // 巡逻ID
    private Integer partrolId;
    // 候选人
    private Integer candidate;
    //商店名称
    private String storeName;
    //告警级别
    private String alarmLevel;

    public String getStoreName() {
        return storeName;
    }

    public PatroDto setStoreName(String storeName) {
        this.storeName = storeName;
        return this;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public PatroDto setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
        return this;
    }

    public String getAlarmId() {
        return alarmId;
    }

    public PatroDto setAlarmId(String alarmId) {
        this.alarmId = alarmId;
        return this;
    }

    private String getPatrolPeople() {
        return patrolPeople;
    }

    public PatroDto setPatrolPeople(String patrolPeople) {
        this.patrolPeople = patrolPeople;
        return this;
    }

    public String getPartrolStore() {
        return partrolStore;
    }

    public PatroDto setPartrolStore(String partrolStore) {
        this.partrolStore = partrolStore;
        return this;
    }

    public String getPartrolAddress() {
        return partrolAddress;
    }

    public PatroDto setPartrolAddress(String partrolAddress) {
        this.partrolAddress = partrolAddress;
        return this;
    }

    public String getPartrolType() {
        return partrolType;
    }

    public PatroDto setPartrolType(String partrolType) {
        this.partrolType = partrolType;
        return this;
    }

    public String getPartrolNumber() {
        return partrolNumber;
    }

    public PatroDto setPartrolNumber(String partrolNumber) {
        this.partrolNumber = partrolNumber;
        return this;
    }

    public String getPartrolProgress() {
        return partrolProgress;
    }

    public PatroDto setPartrolProgress(String partrolProgress) {
        this.partrolProgress = partrolProgress;
        return this;
    }

    public String getPartrolNotes() {
        return partrolNotes;
    }

    public PatroDto setPartrolNotes(String partrolNotes) {
        this.partrolNotes = partrolNotes;
        return this;
    }

    public String getPartrolLevel() {
        return partrolLevel;
    }

    public PatroDto setPartrolLevel(String partrolLevel) {
        this.partrolLevel = partrolLevel;
        return this;
    }

    public Date getPartrolTime() {
        return partrolTime;
    }

    public PatroDto setPartrolTime(Date partrolTime) {
        this.partrolTime = partrolTime;
        return this;
    }

    public String getPartrolImages() {
        return partrolImages;
    }

    public PatroDto setPartrolImages(String partrolImages) {
        this.partrolImages = partrolImages;
        return this;
    }

    public Integer getPartrolId() {
        return partrolId;
    }

    public PatroDto setPartrolId(Integer partrolId) {
        this.partrolId = partrolId;
        return this;
    }

    public String getAlarmNumber() {
        return alarmNumber;
    }

    public PatroDto setAlarmNumber(String alarmNumber) {
        this.alarmNumber = alarmNumber;
        return this;
    }

    public String getAlarmPeople() {
        return alarmPeople;
    }

    public PatroDto setAlarmPeople(String alarmPeople) {
        this.alarmPeople = alarmPeople;
        return this;
    }

    public String getAlarmAddress() {
        return alarmAddress;
    }

    public PatroDto setAlarmAddress(String alarmAddress) {
        this.alarmAddress = alarmAddress;
        return this;
    }

    public Date getAlarmTime() {
        return alarmTime;
    }

    public PatroDto setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
        return this;
    }

    public String getAlarmNotes() {
        return alarmNotes;
    }

    public PatroDto setAlarmNotes(String alarmNotes) {
        this.alarmNotes = alarmNotes;
        return this;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public PatroDto setAlarmType(String alarmType) {
        this.alarmType = alarmType;
        return this;
    }

    public String getAlarmImage() {
        return alarmImage;
    }

    public PatroDto setAlarmImage(String alarmImage) {
        this.alarmImage = alarmImage;
        return this;
    }

    public String getAlarmState() {
        return alarmState;
    }

    public PatroDto setAlarmState(String alarmState) {
        this.alarmState = alarmState;
        return this;
    }



    public Integer getCandidate() {
        return candidate;
    }

    public PatroDto setCandidate(Integer candidate) {
        this.candidate = candidate;
        return this;
    }
}
